package com.jlkf.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jlkf.dao.TblRoleMapper;
import com.jlkf.dao.TblSortMapper;
import com.jlkf.pojo.TblRole;
import com.jlkf.pojo.TblSort;
import com.jlkf.service.CommonService;

@Service
public class CommonServiceImpl implements CommonService{
    @Autowired
    private TblSortMapper tblSortMapper;
    @Autowired
    private TblRoleMapper tblRoleMapper;
	
	@Override
	public List<TblSort> selectList() {
		// TODO Auto-generated method stub
		return tblSortMapper.selectByType();
	}

	@Override
	public List<TblRole> getRoleList() {
		// TODO Auto-generated method stub
		return tblRoleMapper.selectList();
	}

}
